package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药品模型对象 ai_drug_model
 * 
 * @author wmb
 * @date 2020-12-30
 */
public class DrugModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 训练日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "训练日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainDate;

    /** 地址 */
    @Excel(name = "地址")
    private String path;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 语义 */
    @Excel(name = "语义")
    private String semanteme;

    /** 语料来自药物 */
    @Excel(name = "语料来自药物")
    private String corpusSource;

    /** 语料数量 */
    @Excel(name = "语料数量")
    private String corpusItem;

    /** 正确 */
    @Excel(name = "正确")
    private Long corpusTrue;

    /** 错误 */
    @Excel(name = "错误")
    private Long corpusFalse;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setTrainDate(Date trainDate) 
    {
        this.trainDate = trainDate;
    }

    public Date getTrainDate() 
    {
        return trainDate;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSemanteme(String semanteme) 
    {
        this.semanteme = semanteme;
    }

    public String getSemanteme() 
    {
        return semanteme;
    }
    public void setCorpusSource(String corpusSource) 
    {
        this.corpusSource = corpusSource;
    }

    public String getCorpusSource() 
    {
        return corpusSource;
    }
    public void setCorpusItem(String corpusItem) 
    {
        this.corpusItem = corpusItem;
    }

    public String getCorpusItem() 
    {
        return corpusItem;
    }
    public void setCorpusTrue(Long corpusTrue) 
    {
        this.corpusTrue = corpusTrue;
    }

    public Long getCorpusTrue() 
    {
        return corpusTrue;
    }
    public void setCorpusFalse(Long corpusFalse) 
    {
        this.corpusFalse = corpusFalse;
    }

    public Long getCorpusFalse() 
    {
        return corpusFalse;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("type", getType())
            .append("version", getVersion())
            .append("trainDate", getTrainDate())
            .append("path", getPath())
            .append("name", getName())
            .append("semanteme", getSemanteme())
            .append("corpusSource", getCorpusSource())
            .append("corpusItem", getCorpusItem())
            .append("corpusTrue", getCorpusTrue())
            .append("corpusFalse", getCorpusFalse())
            .append("createTime", getCreateTime())
            .append("description", getDescription())
            .toString();
    }
}
